import { createGameModule } from "@sapi-game/createGameModule";
import { TTLPlayer } from "@sapi-game/gamePlayer/gamePlayer";
import { pixelPartyContext } from "./context";

export class pixelPartyPlayer extends TTLPlayer {
    alive: boolean = true;
    /**复活次数 */
    relifeTimes: number = 0;
    isRelife: boolean = false;
}

export const pixelPartyModule = createGameModule({
    playerClass: pixelPartyPlayer,
    contextClass: pixelPartyContext,
});
